1. /* srosubsf.cpp by K.Tsuru */
  2. // function ID = 707
  3. /********************
  4. SRational class
  5. *********************/
  6. #ifndef SN_H
  7. #include "sn.h"
  8. #endif
  9. SRational& SRational::operator=(const SRational& a){
  10. if(this != &a){ //considering the case a = a
  11. num = a.num; den = a.den;// a.den != 0 has been checked.
  12. reduceDone = a.reduceDone;
  13. }
  14. return *this;
  15. }

srosubsr.cpp : last modifiled at 2015/12/03 21:17:49(373 bytes)
created at 2016/06/26 15:57:35
The creation time of this html file is 2016/09/18 20:28:05 (Sun Sep 18 20:28:05 2016).